package com.weiqiao.mall.service;

import com.weiqiao.mall.domain.StrategyEntity;
import com.weiqiao.mall.service.vo.StrategyVO;


import java.util.List;
import java.util.Map;

public interface IStrategyService {
    List<StrategyEntity> strategyList(StrategyVO vo);

    /**
     * 获取攻略详情
     * @param companyId
     * @param strategy_id
     * @return
     */
    StrategyEntity strategyInfo(int companyId, String strategy_id);

    Map<String, Object> updateStrategy(StrategyVO vo);

    Map<String, Object> insertStrategy(StrategyEntity vo);

    int countStrategy(StrategyVO vo);

    Map<String, Object> deleteStrategy(StrategyVO vo);
}
